'''
Created on 12/03/2010

@author: igonzalez
'''
import photoLoader
import videoLoader
import placeLoader
import geoNodeGenFactory

#To arrive here tha agregator must have got the external data. Here using the factory pattern we will get an array of geonodes

def generateGeonodes(self, channel, category): 
    channel = channel.lower()
    generator = geoNodeGenFactory().create_generator(channel)
    geonodeArray = generator.generate_Array(channel, category)
    return geonodeArray